package com.jakewharton.rxbinding4.component;

import com.google.auto.value.AutoValue;

import ohos.agp.components.Slider;

@AutoValue
public abstract class SeekBarProgressUpdateEvent extends SeekBarChangeEvent {
    public static SeekBarProgressUpdateEvent create(Slider view, int progress, boolean fromUser) {
        return new AutoValue_SeekBarProgressUpdateEvent(view, progress, fromUser);
    }

    SeekBarProgressUpdateEvent() {}

    public abstract int progress();

    public abstract boolean fromUser();
}
